package com.zlp.common.constants;

/**
*
* @description: 阿里云OSS存储的相关常量配置.我这里通过常量类来配置的，当然你也可以通过.properties 配置文件来配置，<br/>
* 然后利用 SpringBoot 的@ConfigurationProperties 注解来注入
* @author: ZouLiPing
* @contact: 请关注微信公众号“给自己一个smile”里面有详细电商项目文档,weixin:zlp865391093
* @date: 2019年3月29日15:18:33
* @version V1.0
* Java API文档地址：https://help.aliyun.com/document_detail/32008.html?spm=a2c4g.11186623.6.703.238374b4PsMzWf
*/
public class AliyunOSSConfigConstant {

    //私有构造方法 禁止该类初始化
    private AliyunOSSConfigConstant() {
    }

    //仓库名称
    public static final String BUCKE_NAME = "zlp-shop";
//    public static final String BUCKE_NAME = "greenvalley";
//
//    aliyun.oss.keyid=LTAIn5bMaN2bDZZI
//    aliyun.oss.keysecret=ZXZSNmc6tykxTypWZGlrztijkpjHVV
    //地域节点
    public static final String END_POINT = "oss-cn-shanghai.aliyuncs.com";
    // zlp
    //AccessKey ID
    public static final String AccessKey_ID = "LTAIn5bMaN2bDZZI";//你的AccessKeyID
//    //Access Key Secret
    public static final String AccessKey_Secret = "ZXZSNmc6tykxTypWZGlrztijkpjHVV"; //你的AccessKeyID

    // suiren
    //AccessKey ID
//    public static final String AccessKey_ID = "LTAI4GHWEUW5a45rJ8WCgUFR";//你的AccessKeyID
    //Access Key Secret
//    public static final String AccessKey_Secret = "wrwcvl8mOMbP9yAnht49qZVCGEmJA6"; //你的AccessKeyID
    //仓库中的某个文件夹
    public static final String FILE_HOST = "vedio";
//    public static final String FILE_HOST = "static/images";
}
